// 成本与费用
import Layout from "@/views/layout.vue";
export const expense = {
    path: "expense",
    name: "expense",
    component: Layout,
    meta: {
        title: "费用中心",
        icon: "",
    },
    children: [
        {
            path: "expenseoverview",
            name: "expenseoverview",
            component: () => import("@/views/expense/overview.vue"),
            meta: {
                title: "总览",
                icon: "",
                list: ["费用中心", "总览"],
            },
        },
        {
            path: "shoppingtrolley",
            name: "shoppingtrolley",
            component: () => import("@/views/expense/shoppingtrolley.vue"),
            meta: {
                title: "购物车",
                icon: "",
                list: ["费用中心", "购物车"],
            },
        },
        {
            path: "orderbay",
            name: "orderbay",
            component: Layout,
            meta: {
                title: "订单管理",
                icon: "",
            },
            children: [
                {
                    path: "unpaidorder",
                    name: "unpaidorder",
                    component: () => import("@/views/expense/orderbay/unpaidorder.vue"),
                    meta: {
                        title: "待支付订单",
                        icon: "",
                        list: ["费用中心", "订单管理"],
                    },
                },
                {
                    path: "myorder",
                    name: "myorder",
                    component: () => import("@/views/expense/orderbay/myorder.vue"),
                    meta: {
                        title: "我的订单",
                        icon: "",
                        list: ["费用中心", "订单管理"],
                    },
                },
                {
                    path: "renew",
                    name: "renew",
                    component: () => import("@/views/expense/orderbay/renew.vue"),
                    meta: {
                        title: "续费管理",
                        icon: "",
                        list: ["费用中心", "订单管理"],
                    },
                },
                {
                    path: "cancellationorder",
                    name: "cancellationorder",
                    component: () => import("@/views/expense/orderbay/cancellationorder.vue"),
                    meta: {
                        title: "退订与退换货",
                        icon: "",
                        list: ["费用中心", "订单管理"],
                    },
                },
            ],
        },
        {
            path: "fundsmanagement",
            name: "fundsmanagement",
            component: Layout,
            meta: {
                title: "资金管理",
                icon: "",
            },
            children: [
                {
                    path: "incomeexpensesdetail",
                    name: "incomeexpensesdetail",
                    component: () => import("@/views/expense/fundsmanagement/incomeexpensesdetail.vue"),
                    meta: {
                        title: "收支明细",
                        icon: "",
                        list: ["费用中心", "资金管理"],
                    },
                },
                {
                    path: "recharge",
                    name: "recharge",
                    component: () => import("@/views/expense/fundsmanagement/recharge.vue"),
                    meta: {
                        title: "充值",
                        icon: "",
                        list: ["费用中心", "资金管理"],
                    },
                },
                {
                    path: "withdrawdeposit",
                    name: "withdrawdeposit",
                    component: () => import("@/views/expense/fundsmanagement/withdrawdeposit.vue"),
                    meta: {
                        title: "提现",
                        icon: "",
                        list: ["费用中心", "资金管理"],
                    },
                },
            ],
        },
        {
            path: "billmanagement",
            name: "billmanagement",
            component: Layout,
            meta: {
                title: "账单管理",
                icon: "",
            },
            children: [
                {
                    path: "billpayment",
                    name: "billpayment",
                    component: () => import("@/views/expense/billmanagement/billpayment.vue"),
                    meta: {
                        title: "账单概览",
                        icon: "",
                        list: ["费用中心", "账单管理"],
                    },
                },
                {
                    path: "waterbill",
                    name: "waterbill",
                    component: () => import("@/views/expense/billmanagement/waterbill.vue"),
                    meta: {
                        title: "流水和明细账单",
                        icon: "",
                        list: ["费用中心", "账单管理"],
                    },
                },
                {
                    path: "billexport",
                    name: "billexport",
                    component: () => import("@/views/expense/billmanagement/billexport.vue"),
                    meta: {
                        title: "账单导出",
                        icon: "",
                        list: ["费用中心", "账单管理"],
                    },
                },
                {
                    path: "dosagedetail",
                    name: "dosagedetail",
                    component: () => import("@/views/expense/billmanagement/dosagedetail.vue"),
                    meta: {
                        title: "用量明细",
                        icon: "",
                        list: ["费用中心", "账单管理"],
                    },
                },
            ],
        },
        {
            path: "invoicemanagement",
            name: "invoicemanagement",
            component: () => import("@/views/expense/invoicemanagement.vue"),
            meta: {
                title: "发票管理",
                icon: "",
                list: ["费用中心"],
            },
        },
        {
            path: "derivedrecord",
            name: "derivedrecord",
            component: () => import("@/views/expense/derivedrecord.vue"),
            meta: {
                title: "导出记录",
                icon: "",
                list: ["费用中心"],
            },
        },
    ],
};
